package com.example.springboot.mapper;


import com.example.springboot.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {
    @Select("select * from admin where user_id=#{userId}")
    Admin findById(Integer userId);
}
